import { getEle,getTime } from "../utils/utils.js";
import bindEvent from "../utils/bindEvent.js";
import $ from "jQuery";

console.log($(".list"));
console.log("hello world!");

const addBtn =  getEle("#btn");
const list =  getEle(".list");
const del = getEle(".iconfont icon-delete");
let text = getEle("#text");


bindEvent(".list","click",function(e){
    if(e.target.nodeName == "I") {
        this.removeChild(e.target.parentNode);
    }
});